package com.sjgtw.cloud.app.riskReporting.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import com.sjgtw.cloud.web.path.domain.PathPoint;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 风险跟踪对象 t_eg_risk_tracking
 * 
 * @author lvyoufang
 * @date 2024-05-31
 */
@ApiModel(value="风险跟踪对象", description="t_eg_risk_tracking")
public class RiskTracking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员id */
    @ApiModelProperty(value = "上报id")
    @Excel(name = "风险id")
    private Long riskId;

    /** 人员id */
    @ApiModelProperty(value = "人员id")
    @Excel(name = "人员id")
    private Long userId;

    /** 经度 */
    @ApiModelProperty(value = "经度")
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度")
    private String latitude;

    /** 实时经度 */
    @ApiModelProperty(value = "实时经度")
    @Excel(name = "实时经度")
    private String realTimeLongitude;

    /** 实时纬度 */
    @ApiModelProperty(value = "实时纬度")
    @Excel(name = "实时纬度")
    private String realTimeLatitude;
    private String nickName;

    /** 上道地点id */
    @ApiModelProperty(value = "上道地点id")
    @Excel(name = "上道地点id")
    private Long upperId;

    /** 应急路径id */
    @ApiModelProperty(value = "应急路径id")
    @Excel(name = "应急路径id")
    private Long pathId;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    private List<PathPoint> pathPoints;
    private String upperLocation;

    public Long getRiskId() {
        return riskId;
    }

    public void setRiskId(Long riskId) {
        this.riskId = riskId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public String getRealTimeLongitude() {
        return realTimeLongitude;
    }

    public void setRealTimeLongitude(String realTimeLongitude) {
        this.realTimeLongitude = realTimeLongitude;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealTimeLatitude() {
        return realTimeLatitude;
    }

    public void setRealTimeLatitude(String realTimeLatitude) {
        this.realTimeLatitude = realTimeLatitude;
    }

    public void setUpperId(Long upperId)
    {
        this.upperId = upperId;
    }

    public Long getUpperId() 
    {
        return upperId;
    }
    public void setPathId(Long pathId) 
    {
        this.pathId = pathId;
    }

    public Long getPathId() 
    {
        return pathId;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public List<PathPoint> getPathPoints() {
        return pathPoints;
    }

    public void setPathPoints(List<PathPoint> pathPoints) {
        this.pathPoints = pathPoints;
    }

    public String getUpperLocation() {
        return upperLocation;
    }

    public void setUpperLocation(String upperLocation) {
        this.upperLocation = upperLocation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("upperId", getUpperId())
            .append("pathId", getPathId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createUserId", getCreateUserId())
            .append("remark", getRemark())
            .toString();
    }
}
